\hypertarget{structnih_1_1one__fun}{
\section{nih\-:\-:one\-\_\-fun$<$ \-T, \-R $>$ \-Struct \-Template \-Reference}
\label{structnih_1_1one__fun}\index{nih\-::one\-\_\-fun$<$ T, R $>$@{nih\-::one\-\_\-fun$<$ T, R $>$}}
}


{\ttfamily \#include $<$functors.\-h$>$}

\subsection*{\-Public \-Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structnih_1_1one__fun_ad389b85134617af5bde779da643303a2}{
typedef \hyperlink{structnih_1_1unary__function__tag}{unary\-\_\-function\-\_\-tag} {\bfseries function\-\_\-tag}}
\label{structnih_1_1one__fun_ad389b85134617af5bde779da643303a2}

\item 
\hypertarget{structnih_1_1one__fun_a15ca2d4b6e51c53917277871144b8355}{
typedef \-T {\bfseries argument\-\_\-type}}
\label{structnih_1_1one__fun_a15ca2d4b6e51c53917277871144b8355}

\item 
\hypertarget{structnih_1_1one__fun_abf9b769d82d7a710c458fd5a6358b1f0}{
typedef \-R {\bfseries result\-\_\-type}}
\label{structnih_1_1one__fun_abf9b769d82d7a710c458fd5a6358b1f0}

\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structnih_1_1one__fun_a51e01d64b94f7fe96c2e5dbb27a1c499}{
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E \-R {\bfseries operator()} (const \-T op) const }
\label{structnih_1_1one__fun_a51e01d64b94f7fe96c2e5dbb27a1c499}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\subsubsection*{template$<$typename T, typename R$>$struct nih\-::one\-\_\-fun$<$ T, R $>$}

\-A functor to return the constant 1 cast to a given type 

\-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
basic/\hyperlink{functors_8h}{functors.\-h}\end{DoxyCompactItemize}
